metalink: Return requested file as a GBytes
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 10 Jun 2015 19:40:42 +0000 (15:40 -0400)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 26 Jun 2015 09:02:24 +0000 (11:02 +0200)
commit87851c7bbe246ec630851f577a77435cbfd5217b
treeb92e057eab091a4461a73cf6b465b52b10d5e0b4
parentebef43eabe260333efaaffc19859d6ef4d98a3d4
metalink: Return requested file as a GBytes

This may not be the best idea for general usage, but the only use case
for metalinks currently is fetching a summary file and those are pretty
small.  Far more convenient to return the file content in a GBytes.
src/libostree/ostree-metalink.c
src/libostree/ostree-metalink.h
src/libostree/ostree-repo-pull.c